
local ESN_Critter_Emote = CreateFrame("Frame")

ESN_Critter_Emote:RegisterEvent("PLAYER_TARGET_CHANGED")
ESN_Critter_Emote:SetScript("OnEvent", function(self, event, ...)
	if( event == "PLAYER_TARGET_CHANGED" ) then
		local creatureType = UnitCreatureType("target")				
--		DEFAULT_CHAT_FRAME:AddMessage("|cffabd473ESN|r_Critter_Emote|cff666666:|r "..creatureType)
		if creatureType == "Tier" then
			DoEmote("LOVE");
		end
	end
end)